//
//  KRWeatherView.m
//  KEREN
//
//  Created by chenliang on 2023/8/21.
//

#import "KRWeatherView.h"

@implementation KRWeatherView


// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    
    NSAttributedString *showAttString = [NSAttributedString getAttributeWith:@[@"--"] string:@"当前天气 --" Font:Font(12) Color:Color_AAAAAA attributeFont:BFont(12) attributeColor:Color_DDDDDD];
    self.weatherLbl.attributedText = showAttString;
    // Drawing code
    
    NSAttributedString *tAttString = [NSAttributedString getAttributeWith:@[@"--"] string:@"气温 --" Font:Font(12) Color:Color_AAAAAA attributeFont:BFont(12) attributeColor:Color_DDDDDD];
    self.temperatureLbl.attributedText = tAttString;
    
    NSAttributedString *attString = [NSAttributedString getAttributeWith:@[@"--"] string:@"风速 --" Font:Font(12) Color:Color_AAAAAA attributeFont:BFont(12) attributeColor:Color_DDDDDD];
    self.windpowerLbl.attributedText =attString;
    
    NSAttributedString *gpsString = [NSAttributedString getAttributeWith:@[@"--"] string:@"GPS --" Font:Font(12) Color:Color_AAAAAA attributeFont:BFont(12) attributeColor:Color_DDDDDD];
    self.windpowerLbl.attributedText =gpsString;
    
}

@end
